<?php
header('content-type:text/html;charset=utf-8');
	class CommonControl extends Control {
		public function __construct(){
			parent::__construct();
			/**
			 * 前后台能互相访问！！！！！！！！！
			 */
			if(!isset($_SESSION['identity'])||$_SESSION['identity']!==$_SERVER['HTTP_HOST']){
				$this->error('/index.php/Admin/Login/login','您还没有登录，请先登录。');
				exit;
			}
		}
	}
?>